import { postRequest, getRequest } from '@/utils/request.js';

/**
 * @Description: 民主管理
 * @Author: ganxinge
 */
export const democraticApi = {
  // 分页查询列表
  queryList: (param) => {
    return getRequest('/biz/biz_democracy/page', param);
  },
  //查询详情
  getDetail:(id) =>{
	return getRequest(`/biz/biz_democracy/${id}`);
  },
  update: (param) => {
    return postRequest('/biz/biz_democracy/updatePageView', param);
  },
};